package cn.com.surker.oa.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * OA抄送记录
 * </p>
 *
 * @author admin
 * @since 2023-09-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class OaCopyBiz implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 流程ID
     */
    private String orderId;

    /**
     * 流程编号
     */
    private String processNo;

    /**
     * 业务ID
     */
    private Long bizId;

    /**
     * 业务类型
     */
    private String bizType;

    /**
     * 用户ID
     */
    private Long uid;

    /**
     * 用户账户
     */
    private String username;

    /**
     * 创建人
     */
    private Long creator;

    /**
     * 状态(0：启用，1：禁用)
     */
    private Integer status;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
    public OaCopyBiz(){}
    public OaCopyBiz(String orderId, String processNo, Long bizId, String bizType, Long uid, String username, Long creator, Integer status, Date createTime) {
        this.orderId = orderId;
        this.processNo = processNo;
        this.bizId = bizId;
        this.bizType = bizType;
        this.uid = uid;
        this.username = username;
        this.creator = creator;
        this.status = status;
        this.createTime = createTime;
    }
}
